package com.simple.upms.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.simple.upms.api.entity.SysMenu;
import com.simple.upms.api.vo.MenuVO;
import com.simple.upms.biz.mapper.SysMenuMapper;
import com.simple.upms.biz.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统菜单服务impl
 *
 * @author Administrator
 * @date 2021/01/04 15:45:22
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {
    @Override
    public List<MenuVO> findMenuByRoleId(String roleId) {
        return baseMapper.listMenuByRoleId(roleId);
    }
}
